package org.ytor.core.sysapi.monitor.resp;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * created by yangtong on 2025/7/6 21:50:15
 * <br/>
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "磁盘使用信息汇总")
public class DiskInfoResp {

    @Schema(description = "磁盘分区列表")
    private List<DiskPartitionResp> partitions;

    @Schema(description = "错误信息（如果获取失败）")
    private String error;
}
